import request from '@/utils/request'

// 查询收款填报列表
export function listCollectionFill(query) {
  return request({
    url: '/system/collectionFill/list',
    method: 'get',
    params: query
  })
}

// 查询收款填报详细
export function getCollectionFill(id) {
  return request({
    url: '/system/collectionFill/' + id,
    method: 'get'
  })
}

// 新增收款填报
export function addCollectionFill(data) {
  return request({
    url: '/system/collectionFill',
    method: 'post',
    data: data
  })
}

// 修改收款填报
export function updateCollectionFill(data) {
  return request({
    url: '/system/collectionFill',
    method: 'put',
    data: data
  })
}

// 删除收款填报
export function delCollectionFill(id) {
  return request({
    url: '/system/collectionFill/' + id,
    method: 'delete'
  })
}
